﻿@using eLoan.Models;
@model RegisterModel
@{
    ViewBag.Title = "Register";
}

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>Register</h2>
    </div>
    <div class="col-lg-2"></div>
</div>

@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
{
    <fieldset>
        <div class="wrapper wrapper-content animated fadeInRight">
            <div class="row">
                <div class="col-lg-5">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h2>Register User</h2>
                        </div>
                        <div class="ibox-content">


                                @Html.AntiForgeryToken()
                                @Html.ValidationSummary(true)


                                <table class="table table-bordered table-striped">
                                    <tr>
                                        <th>
                                            @Html.LabelFor(m => m.UserName)
                                        </th>
                                        <td>
                                            @Html.TextBoxFor(m => m.UserName, new { @class = "text-box single-line" })
                                        </td>

                                    </tr>
                                    <tr>
                                        <th>
                                            @Html.LabelFor(m => m.Password)
                                        </th>
                                        <td>
                                            @Html.PasswordFor(m => m.Password, new { @class = "text-box single-line" })
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            @Html.LabelFor(m => m.ConfirmPassword)
                                        </th>
                                        <td>
                                            @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "text-box single-line" })
                                        </td>
                                    </tr>
                                </table>
                            <input class="btn btn-primary" type="submit" value="Register" />


                        </div>
                    </div>
                </div>
            </div>
        </div>
    </fieldset>
}


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
